package com.sap.sap_mangers.until;

/**
 * @author 樊东升
 * 2022/8/1 17:26
 */
public class ConstantUntil {
    /**
     * 用户名账号的长度
     */
    public static final Integer USERNAME_LENGTH = 8;
    /**
     * 会长角色的值
     */
    public static final Integer ROLE_PRESIDENT = 1;
    /**
     * 团支书角色的值
     */
    public static final Integer ROLE_SECRETARY_OF_THE_LEAGUE = 2;
    /**
     * 副会长角色的值
     */
    public static final Integer ROLE_VICE_PRESIDENT = 3;
    /**
     * 学术部部长角色的值
     */
    public static final Integer ROLE_ACADEMIC_MINISTER = 4;
    /**
     * 学术部副部长角色的值
     */
    public static final Integer ROLE_ACADEMIC_DEPUTY_MINISTER = 5;
    /**
     * 综办部长角色的值
     */
    public static final Integer ROLE_INTEGRATED_MINISTER = 6;
    /**
     * 综办副部长角色的值
     */
    public static final Integer ROLE_INTEGRATED_DEPUTY_MINISTER = 7;
    /**
     * 宣传部长
     */
    public static final Integer ROLE_PROPAGANDA_MINISTER = 8;
    /**
     * 宣传副部长
     */
    public static final Integer ROLE_PROPAGANDA_DEPUTY_MINISTER = 9;
    /**
     * 往届管理员角色的值
     */
    public static final Integer ROLE_OLD_MANGER = 10;
    /**
     * 正式成员角色的值
     */
    public static final Integer ROLE_ORDINARY_MEMBERS = 11;
    /**
     * 游客角色的值
     */
    public static final Integer ROLE_VISITOR = 12;

    public static final String CACHE_USER_REAL_NAME = "SAP_USER_REAL_NAME";

    public static final String CACHE_USER = "SAP_USER";

    public static final String CACHE_USER_HEADER = "SAP_USER_HEADER";

    public static final String CACHE_ACTIVITY_IMAGES = "CACHE_ACTIVITY_IMAGES";

    public static final String CACHE_USER_PASSWORD_CODE = "CACHE_USER_PASSWORD_CODE";
    /**
     * 退出软件协会学习小组Code
     */
    public static final String CACHE_SAWBS_QUIT_CODE = "CACHE_SAWBS_QUIT_CODE";
    /**
     * 退出软件协会学习小组Code
     */
    public static final String CACHE_SAWBS_QUIT_CODE_TIME = "CACHE_SAWBS_QUIT_CODE_TIME";
    /**
     * 验证是否在线
     */
    public static final String CONFIRM_ONLINE_PEOPLE = "CONFIRM_ONLINE_PEOPLE";
    /**
     * 在线人数(1小时内每十分钟)
     */
    public static final String ONLINE_PEOPLE_DATA = "ONLINE_PEOPLE_DATA";

    /**
     * 是否开启入会升级接口标识
     */
    public static final String SAP_IF_OPEN_JOIN_FUNCTION = "SAP_IF_OPEN_JOIN_FUNCTION";
    /**
     * 每分钟入会审核次数 (用于限制每分钟的次数)
     */
    public static final String SAP_AUDIT_JOIN_NUM_PER_MINUTE = "SAP_AUDIT_JOIN_NUM_PER_MINUTE";

    /**
     * 图书管理 每月借阅申请数量 (无数据部分)
     */
    public static final String SAP_BMS_BORROW_NUMBER_EACH_MONTH = "SAP_BMS_BORROW_NUMBER_EACH_MONTH";

    /**
     * JWT登录信息存放
     */
    public static final String SAP_LOGIN = "SAP_LOGIN";
    /**
     * JWT token 缓存过期时间
     */
    public static final String SAP_LOGIN_TIME = "SAP_LOGIN_TIME";

    public static final String OPEN_THE_LUCKY_DRAW = "OPEN_THE_LUCKY_DRAW";
    public static final Integer PASSWORD_CODE_LENGTH = 6;

    public static final Integer LIMIT_NUMBER_OF_MESSAGE_BOARD = 10;

    public static final Integer LIMIT_NUMBER_OF_BOARD_NEWS = 20;

    /**
     * 会长
     */
    public static final Integer USER_ROLE_PERMISSIONS_ONE = 1;
    /**
     * 管理员
     */
    public static final Integer USER_ROLE_PERMISSIONS_TWO = 2;
    /**
     * 旧管理员
     */
    public static final Integer USER_ROLE_PERMISSIONS_THREE = 3;
    /**
     * 正式成员
     */
    public static final Integer USER_ROLE_PERMISSIONS_FOUR = 4;
    /**
     * 游客
     */
    public static final Integer USER_ROLE_PERMISSIONS_FIVE = 5;


}
